package com.hsq.ndmall.mq.selector;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * @author 黄四清
 * @version 1.0.0
 * @ClassName AmqpSelector.java
 * @Description TODO
 * @createTime 2021年09月06日 19:51:00
 */
public class AmqpSelector implements ImportSelector {
    @Override
    public String[] selectImports(AnnotationMetadata annotationMetadata) {
        return new String[]{"com.hsq.ndmall.mq.config.OrderMqConfig",
                "com.hsq.ndmall.mq.config.StockMqConfig",
                "com.hsq.ndmall.mq.config.RabbitTemplateConfig"};
    }
}
